[INFO] fetching crate aio-limited 0.1.1...
[INFO] checking aio-limited-0.1.1 against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] extracting crate aio-limited 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate aio-limited 0.1.1 on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate aio-limited 0.1.1
[INFO] finished tweaking crates.io crate aio-limited 0.1.1
[INFO] tweaked toml for crates.io crate aio-limited 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quick-error v1.2.3
[INFO] [stderr]   Downloaded tokio-io v0.1.13
[INFO] [stderr]   Downloaded parking_lot_core v0.6.3
[INFO] [stderr]   Downloaded smallvec v0.6.14
[INFO] [stderr]   Downloaded tokio-timer v0.2.13
[INFO] [stderr]   Downloaded humantime v1.3.0
[INFO] [stderr]   Downloaded iovec v0.1.4
[INFO] [stderr]   Downloaded lock_api v0.3.4
[INFO] [stderr]   Downloaded net2 v0.2.38
[INFO] [stderr]   Downloaded miow v0.2.2
[INFO] [stderr]   Downloaded tokio-executor v0.1.10
[INFO] [stderr]   Downloaded crossbeam-utils v0.7.2
[INFO] [stderr]   Downloaded mio v0.6.23
[INFO] [stderr]   Downloaded futures v0.1.31
[INFO] [stderr]   Downloaded tokio v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9db539da0e7dc991742c6153fe08d4d6b84cd7b0564f1764276a47f6fb97a5c
[INFO] running `Command { std: "docker" "start" "-a" "c9db539da0e7dc991742c6153fe08d4d6b84cd7b0564f1764276a47f6fb97a5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9db539da0e7dc991742c6153fe08d4d6b84cd7b0564f1764276a47f6fb97a5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9db539da0e7dc991742c6153fe08d4d6b84cd7b0564f1764276a47f6fb97a5c", kill_on_drop: false }`
[INFO] [stdout] c9db539da0e7dc991742c6153fe08d4d6b84cd7b0564f1764276a47f6fb97a5c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0250112075ba4d4eaf0d080e9ad4338c29cd99b7ebe8dc0a6b9cb547a4129bad
[INFO] running `Command { std: "docker" "start" "-a" "0250112075ba4d4eaf0d080e9ad4338c29cd99b7ebe8dc0a6b9cb547a4129bad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.38
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking aio-limited v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio v0.1.1
[INFO] [stdout] error[E0432]: unresolved imports `tokio::io`, `tokio::prelude`, `tokio::runtime`, `tokio::timer`
[INFO] [stdout]    --> src/limiter.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         io::{copy, read_exact},
[INFO] [stdout]     |         ^^ could not find `io` in `tokio`
[INFO] [stdout] 107 |         net::{TcpListener, TcpStream},
[INFO] [stdout] 108 |         prelude::*,
[INFO] [stdout]     |         ^^^^^^^ could not find `prelude` in `tokio`
[INFO] [stdout] 109 |         runtime::Runtime,
[INFO] [stdout]     |         ^^^^^^^ could not find `runtime` in `tokio`
[INFO] [stdout] 110 |         timer::Delay
[INFO] [stdout]     |         ^^^^^ could not find `timer` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope
[INFO] [stdout]    --> src/limiter.rs:126:84
[INFO] [stdout]     |
[INFO] [stdout] 126 |                         Box::new(Limited::new(r, lim.clone()).unwrap()) as Box<dyn AsyncRead + Send>
[INFO] [stdout]     |                                                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use tokio_io::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsyncRead` in this scope
[INFO] [stdout]    --> src/limiter.rs:128:52
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     None => Box::new(r) as Box<dyn AsyncRead + Send>,
[INFO] [stdout]     |                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use tokio_io::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio`
[INFO] [stdout]    --> src/limiter.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 tokio::spawn(future)
[INFO] [stdout]     |                        ^^^^^ not found in `tokio`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use crate::limiter::task::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use crate::limiter::tests::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use crate::limiter::tests::tokio::executor::current_thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use futures::executor::spawn;
[INFO] [stdout]     |
[INFO] [stdout]       and 7 other candidates
[INFO] [stdout] help: if you import `spawn`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 134 -                 tokio::spawn(future)
[INFO] [stdout] 134 +                 spawn(future)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `split` exists for struct `TcpStream`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/limiter.rs:123:32
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 let (r, w) = s.split();
[INFO] [stdout]     |                                ^^^^^ method cannot be called on `TcpStream` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-0.1.1/src/net/tcp.rs:192:1
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct TcpStream {
[INFO] [stdout]     | -------------------- doesn't satisfy `tokio::net::TcpStream: futures::Stream`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `tokio::net::TcpStream: futures::Stream`
[INFO] [stdout]             which is required by `&mut tokio::net::TcpStream: futures::Stream`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 98  |     use tokio_io::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/limiter.rs:143:29
[INFO] [stdout]     |
[INFO] [stdout] 143 |             .map(|(_stream, buf)| info!("{:?}", str::from_utf8(&buf)))
[INFO] [stdout]     |                             ^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout]     = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/limiter.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 |             .map(|(_stream, buf)| info!("{:?}", str::from_utf8(&buf)))
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `(_, [u8])`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]     = note: required because it appears within the type `(_, [u8])`
[INFO] [stdout]     = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]     |
[INFO] [stdout] 143 |             .map(|(_stream, buf&)| info!("{:?}", str::from_utf8(&buf)))
[INFO] [stdout]     |                                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `take` exists for struct `Repeat`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/limiter.rs:154:36
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 copy(io::repeat(1).take(size as u64), stream)
[INFO] [stdout]     |                                    ^^^^ method cannot be called on `Repeat` due to unsatisfied trait bounds
[INFO] [stdout]    --> /rustc/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/library/std/src/io/util.rs:98:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: doesn't satisfy `std::io::Repeat: Iterator`
[INFO] [stdout]     |
[INFO] [stdout]     = note: doesn't satisfy `std::io::Repeat: futures::Stream`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `std::io::Repeat: futures::Stream`
[INFO] [stdout]             which is required by `&mut std::io::Repeat: futures::Stream`
[INFO] [stdout]             `std::io::Repeat: Iterator`
[INFO] [stdout]             which is required by `&mut std::io::Repeat: Iterator`
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 98  |     use std::io::Read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aio-limited` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "0250112075ba4d4eaf0d080e9ad4338c29cd99b7ebe8dc0a6b9cb547a4129bad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0250112075ba4d4eaf0d080e9ad4338c29cd99b7ebe8dc0a6b9cb547a4129bad", kill_on_drop: false }`
[INFO] [stdout] 0250112075ba4d4eaf0d080e9ad4338c29cd99b7ebe8dc0a6b9cb547a4129bad
